import RolePicker from './RolePicker';
import RoleText from './RoleText';

export default {
  render: (text: any) => {
    return <RoleText text={text} />;
  },
  renderFormItem: (value: any, props: any) => {
    return (
      <RolePicker placeholder="请选择" {...props.fieldProps} value={value} />
    );
  },
};
